package com.mark.from;

import lombok.Data;

import javax.validation.constraints.NotEmpty;


/**
 * Created by Choisaaaa on 2018/6/22.
 * 订单控制层的表单验证信息
 */
@Data
public class OrderForm {
    @NotEmpty(message = "姓名必填")
    private String name;

    @NotEmpty(message = "手机号必填")
    private String phone;

    @NotEmpty(message = "地址必填")
    private String address;

    @NotEmpty(message = "微信号必填")
    private String openid;

    @NotEmpty(message = "购物车不能为空可能")
    private String items;
}
